package com.pn.warehouse.service.impl;

import com.pn.warehouse.entity.Statistics;
import com.pn.warehouse.mapper.StatisticsMapper;
import com.pn.warehouse.service.StatisticsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StatisticsServiceImpl implements StatisticsService {

    @Resource
    private StatisticsMapper statisticsMapper;

    //查询每个仓库的商品数量
    @Override
    public List<Statistics> findStoreCount() {
        return statisticsMapper.findStoreCount();
    }

}
